package cn.com.connected.service;

import cn.com.connected.vo.wechat.WeChatMessageValid;

import java.util.Map;

/**
 * @program: service-server
 * @description:
 * @author: 邵明生
 * @create: 2019-03-25 13:54
 **/
public interface WeChatMessageService {
    /**
     * 验证小程序推送token
     * 用于微信小程序平台 验证服务器
     * @param message
     * @return
     */
    boolean checkSignature(WeChatMessageValid message);

    /**
     * 推送消息
     * */
    void pushMessage(String openId, String tempId, Map message);


}
